import request from '@/utils/request'
const api_name=`/admin/cmn/dict`
export default{
    // 根据dictCode 获取下级节点
    findByDictCode(dictCode){
        return request({
            url:`${api_name}/findByDictCode/${dictCode}`,
            methos:'get'
        })
    },
    // 根据ID获取下级节点
    findByParentId(parentId){
        return request({
            url:`${api_name}/findChildData/${parentId}`,
            methos:'get'
        })
    }

}